css: Fix text-decoration-line support
authorMatthias Clasen <mclasen@redhat.com>
Tue, 26 Jan 2021 22:40:34 +0000 (17:40 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 26 Jan 2021 22:53:14 +0000 (17:53 -0500)
commit1258fcaaf4d1148efb1b3f7a7dffba1b27f61c1c
treecd89365dc3431db002dc676a40b8c03df23a7493
parentb6e7acfb9008979ef9b14f4e7a74f01701148b78
css: Fix text-decoration-line support

This property needs to be treated as flags, not as
enum, since it should be possible to specify more
than one value, e.g.

text-decoration-line: underline overline;

Tests included.

Fixes: #3621
gtk/gtkcssenumvalue.c
gtk/gtkcssenumvalueprivate.h
gtk/gtkcssshorthandpropertyimpl.c
gtk/gtkcssstyle.c
gtk/gtkcssstylepropertyimpl.c
gtk/gtkcsstypesprivate.h
testsuite/css/parser/meson.build
testsuite/css/parser/text-decoration-line.css
testsuite/css/parser/text-decoration-line.ref.css
testsuite/css/parser/text-decoration.css [new file with mode: 0644]
testsuite/css/parser/text-decoration.ref.css [new file with mode: 0644]